﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Digitalmes.Model.EquipmentManagement;
using Digitalmes.Model;
namespace Digitalmes.ViewModel.EquipmentManagement.MaintenancePlanVMs
{
    public partial class MaintenancePlanSearcher : BaseSearcher
    {
        
        [Display(Name = "_Model._MaintenancePlan._PlanName")]
        public string PlanName { get; set; }
        [Display(Name = "_Model._MaintenancePlan._Equipment")]
        public long? EquipmentId { get; set; }
        [Display(Name = "_Model._MaintenancePlan._EquipmentName")]
        public string EquipmentName { get; set; }
        [Display(Name = "_Model._MaintenancePlan._PlanType")]
        public MaintenanceTypeEnum? PlanType { get; set; }
        [Display(Name = "_Model._MaintenancePlan._IntervalDays")]
        public int? IntervalDays { get; set; }
        [Display(Name = "_Model._MaintenancePlan._NextDueDate")]
        public DateRange NextDueDate { get; set; }
        [Display(Name = "_Model._MaintenancePlan._IsActive")]
        public bool? IsActive { get; set; }
        [Display(Name = "_Model._MaintenancePlan._CreateTime")]
        public DateRange CreateTime { get; set; }
        [Display(Name = "_Model._MaintenancePlan._UpdateTime")]
        public DateRange UpdateTime { get; set; }
        [Display(Name = "_Model._MaintenancePlan._CreateBy")]
        public string CreateBy { get; set; }
        [Display(Name = "_Model._MaintenancePlan._UpdateBy")]
        public string UpdateBy { get; set; }

        protected override void InitVM()
        {
            

        }
    }

}